#ifndef INCLUDED_JOutput
#define INCLUDED_JOutput

#ifndef HXCPP_H
#include <hxcpp.h>
#endif

#include <JPrintStream.h>
HX_DECLARE_CLASS0(JOutput)
HX_DECLARE_CLASS0(JPrintStream)
HX_DECLARE_CLASS0(StringBuf)
#ifndef INCLUDED_cpp_CppInt32__
#include <cpp/CppInt32__.h>
#endif


class JOutput_obj : public ::JPrintStream_obj{
	public:
		typedef ::JPrintStream_obj super;
		typedef JOutput_obj OBJ_;
		JOutput_obj();
		Void __construct();

	public:
		static hx::ObjectPtr< JOutput_obj > __new();
		static Dynamic __CreateEmpty();
		static Dynamic __Create(hx::DynamicArray inArgs);
		~JOutput_obj();

		HX_DO_RTTI;
		static void __boot();
		static void __register();
		void __Mark(HX_MARK_PARAMS);
		void __Visit(HX_VISIT_PARAMS);
		::String __ToString() const { return HX_CSTRING("JOutput"); }

		::StringBuf aout; /* REM */ 
		virtual Void append( int c);

		virtual Void print( Dynamic d);

		virtual Void println( Dynamic d);

		virtual Void write( ::cpp::CppInt32__ b);

		virtual Void flush( );

		virtual Void close( );

};


#endif /* INCLUDED_JOutput */ 
